<template>
  <div>
    <!-- 测试路由的功能 -->
    <div> :to="{path:'mystep', query:{id:1}}" 查询字符串传参</div>
    <router-link :to="{path:'mystep', query:{id:1}}">mystep</router-link>
    <div> :to="{name:'MyStep', params:{id:1}}" 路由传参</div>
    <router-link :to="{name:'MyStep', params:{id:1}}">mystep</router-link>
  </div>
</template>
<script>
// 测试路由的功能, 路由传值, 前进后退, 声明式路由, 命令式路由
export default {

}
</script>
